import request from '@/utils/request'

export const getAdList = (data:any, params:any) => {
	return request({
	    url:'/mall/o/v1/asList',
	    method:'post',
	    data:data,
	    params:params
	})
}


export const getNoticeList = (data:any, params:any) => {
	return request({
	    url:'/system/notice/list',
	    method:'get',
	    data:data,
	    params:params
	})
}

export const getNoticeDetail = (data:any) => {
	return request({
	    url:`/system/notice/details/${data.noticeId}`,
	    method:'get',
	    data:data
	})
}


